import { Descriptions, Tag } from '@douyinfe/semi-ui';
import { useEffect } from 'react';
import { shallowEqual, useDispatch, useSelector } from 'react-redux';
import { useParams } from 'react-router-dom';
import { IReducerState, IRootReducerState } from '@/store/root-reducer';

const RoleDetail = ({ entity }: any) => {
  const dispatch = useDispatch<any>();
  useEffect(() => {}, []);

  const params = useParams();
  const data = [
    { key: '组织名称', value: '运维组织' },
    { key: '组织状态', value: '正常' },
    { key: '组织管理员用户名称', value: 'liyu' },
    { key: '组织管理员姓名', value: '李玉' },
    { key: '联系电话', value: '176****5676' },
    { key: '管理员邮箱', value: '176797698769' },
    { key: '创建时间', value: '2023-06-29 14:00:00' },
    { key: '创建人', value: '李玉' },
  ];
  return <Descriptions data={data} />;
};

export default RoleDetail;
